pp108 : RemoveUnitAndAssignments (Deprecated)

RemoveUnitAndAssignments (Deprecated)

This method removes an organization unit (undeploy) and all the user assignments for that unit.

Note: The use of this method is deprecated. Users must not directly manipulate any of the runtime content. Updates to the runtime content must be considered only through package deployment\undeployment

SOAP Request

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <RemoveUnitAndAssignments xmlns="http://schemas.cordys.com/userassignment/UserAssignmentService/1.0">
            <WorkspaceID>002481F0-8E9F-11E2-EE36-A5EED1105F38</WorkspaceID>
            <AssignmentRoot>[Assignment Root]</AssignmentRoot>
            <UnitName>[UnitName]</UnitName>
        </RemoveUnitAndAssignments>
    </SOAP:Body>
</SOAP:Envelope>
Request Parameters

Parameter

Description

Mandatory

Accepted Input Value

WorkspaceID

Unique and valid ID of the Collaborative Workspace (CWS)

No

GUID or null

AssignmentRoot

Assignment root ID. GUID retrieved from InitializeAssignmentRoot must be used.

Yes

GUID.

UnitName

Name that identifies the unit

Yes

A unit ID or unit qualified name , which is retrieved using the getUnits API.

SOAP Response

<RemoveUnitAndAssignmentsResponse xmlns="http://schemas.cordys.com/userassignment/UserAssignmentService/1.0" >
  <RemoveUnitAndAssignments>001CC438-906D-11E2-EECC-49936ED1DF4B</RemoveAssignmentRoot>
</RemoveUnitAndAssignmentsResponse>
Response Parameters

Parameter

Description

RemoveUnitAndAssignments

Returns the ID of the removed assignment (GUID)